<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2017/10/19 0019
 * Time: 9:54
 */
//商品分类，
//
namespace Api\Controller;
use Think\Controller;
//header("content-type:text/html;charset=utf-8");
class GoodsController extends Controller{

    public function Goods(){

        $model = D('GoodsClass');
        $list = $model->getCateTree();

        //dump($list);die;
        $this->ajaxReturn($list,'json');


    }



}